@BEGINEVENTS

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Ghast
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
39,35
36,36
34,34
34,40
40,38
31,31
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Wraith
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
78,42
80,40
77,45
75,43
74,43
76,40
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
CREATEUNIT
unit=Sylithyr
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
13,61
18,66
16,75
28,76
31,89
44,76
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Dark Rider
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
57,33
52,36
57,39
60,34
59,33
50,38
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Bats
owner=TRIGGERATTACKER
veteran=yes
homecity=
locations
55,1
57,1
59,1
59,3
57,3
55,3
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
CREATEUNIT
unit=Barrow Wight
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
13,5
12,8
14,10
16,10
16,12
11,3
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=33
@THEN
CREATEUNIT
unit=Zombie
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
80,10
82,12
82,10
81,9
82,14
0,0
83,14
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
CREATEUNIT
unit=Wyrm
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
58,84
54,84
60,78
54,78
46,64
44,62
40,66
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
CREATEUNIT
unit=Gargoyle
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
1,63
5,59
7,55
10,54
15,53
8,58
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=35
@THEN
CREATEUNIT
unit=Pirate Galley
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
127,51
137,43
104,76
93,99
138,98
118,68
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=127
@THEN
TEXT
Rumor has it that the mythical undead stronghold of Thanatos exists on the plains of the Islith
Durat!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Thanatos
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Thanatos, the legendary citadel of the Undead, has finally fallen!  This has stemmed the flow of
Undead Riders flowing into the land.  The victorious armies on the Islith Durat have discovered
some ancient ruins during their campaign, and the victor's nation has gained new knowledge into
the past!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=2000
PLAYWAVEFILE
SHORTKING.WAV
JUSTONCE
@ENDIF

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
12
DONTPLAYWONDERS
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=90
receiver=Holy Empire
@THEN
GIVETECHNOLOGY
receiver=Holy Empire
technology=5
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
RANDOMTURN
denominator=45
@THEN
TEXT
While riding in the country, you come across a mouldering old ruin, evidently of Altec design.  It is
extremely cold inside, and there is nothing on the floor but a fragment of an old map which looks
like part of a battle plan, highlighting the co-ordinates 2, 2.  The co-ordinates mean smething to
you, but you forget what is significant about them.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=139
@THEN
TEXT
While reading an old book, you come across a passage describing two powerful creatures that
were sought by the Altecs.  The Azure Dragon and the Hydra were powerfully magical and their
blood combined would make the elixir of life, a potent potion capable of restoring the dead to
their original, unaltered bodies.  Intriguing.
ENDTEXT
PLAYWAVEFILE
SHORTKING.WAV
JUSTONCE
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
You are watching the fish in the lake in you palace grounds when you notice something catching
the sunlight at the bottom of the pool.  You order the object removed from the lake and you
watch as your men hoist this enormous chest out of the bottom of the water.  Opening it, you find
some gold and an Altec plate, with a map on the back, highlighting the co-ordinates 72,2.  These
co-ordinites trouble you as you cannot remember what is so significant about them.
ENDTEXT
CHANGEMONEY
receiver=Holy Empire
amount=500
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=84
receiver=Celarun Guild
@THEN
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=73
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=39
receiver=Northern Realm
@THEN
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=73
@ENDIF

@IF
UNITKILLED
unit=Azure Dragon
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Azure Dragon has finally fallen!  The victors discover it to have been guarding a vast ruined
castle from the Old Age!  They discover new technologies withinn!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
PLAYWAVEFILE
SHORTKING.WAV
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=87
@ENDIF

@IF
UNITKILLED
unit=Hydra
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The terrifying Hydra has been defeated at last!  The victors find it was guarding a vast horde of
gold!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=10000
PLAYWAVEFILE
SHORTKING.WAV
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
Reading up a bit more on the Altecs, you find that the two mythical creatures, the dragon and
hydra, were guarding a huge castle and a vast hoard of gold respectively.  You think it may be a
good idea to defeat these monsters and take a look (Using some Destroying Light on them
doesn't count)
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=The Lost City
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Lost City has been discovered!  Marching into the city,the victors see wonders not beheld for
millennia, evidence of a vast, powerful culture, and in the ditance, Oriniae Mons is still there. The 
Altec Quest is complete, but you may continue playing if you wish.
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=87
receiver=Holy Empire
@THEN
TEXT
In the ancient ruins, the location of the lost city is discovered! It is locarted at the 41W,87S.
This is interesting.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Calindon
attacker=ANYBODY
defender=Holy Empire
@THEN
TEXT
Calindon has fallen!  The Holy Empire has fallen.
ENDTEXT
PLAYWAVEFILE
SHORTLOSE.WAV
DESTROYACIVILIZATION
whom=TRIGGERDEFENDER
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=89
receiver=ANYBODY
@THEN
TEXT
Someone has discovered Magical Insight.  If it wasn't you, then you have lost the game.  If it was 
you, then congratulations!  You may continue playing the game if you wish, but the game is, 
technically over.  Note that your score will no longer be calculated.
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=73
receiver=Kingdom of Parin
@THEN
TEXT
WARNING
An error has been detected.  Please start or load a new game.
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=15
receiver=Kingdom of Parin
@THEN
GIVETECHNOLOGY
receiver=Kingdom of Parin
technology=94
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=58
receiver=Northern Realm
@THEN
GIVETECHNOLOGY
receiver=Northern Realm
technology=99
@ENDIF

@IF
TURN
turn=495
@THEN
TEXT
Your only heir to the throne suddenly falls ill.  His doctors do not hold up much hope for her, and
you feel your dynasty is coming to an end.  YOU HAVE FIVE TURNS LEFT TO COMPLETE
YOUR OBJECTIVES.
ENDTEXT
JUSTONCE
PLAYCDTRACK
2
@ENDIF

@IF
CITYTAKEN
city=Loth Cabrantir
attacker=ANYBODY
defender=Elves
@THEN
TEXT
The Loth Cabrantir has fallen!  The Elves have been defeated.
ENDTEXT
JUSTONCE
DESTROYACIVILIZATION
whom=TRIGGERDEFENDER
@ENDIF

@IF
CITYTAKEN
city=Diamond Clan
attacker=ANYBODY
defender=Dwarven Tribes
@THEN
TEXT
The Diamond clan has fallen!  The Dwarves have been defeated!
ENDTEXT
JUSTONCE
DESTROYACIVILIZATION
whom=TRIGGERDEFENDER
@ENDIF

@IF
CITYTAKEN
city=Celarus
attacker=ANYBODY
defender=Celarun Guild
@THEN
TEXT
Celarus has been overrun!  The Guild has been defeated!
ENDTEXT
JUSTONCE
DESTROYACIVILIZATION
whom=TRIGGERDEFENDER
@ENDIF

@IF
CITYTAKEN
city=Albion
attacker=ANYBODY
defender=Northern Realm
@THEN
TEXT
Albion has been captured!  The Northern Realm has fallen!
ENDTEXT
JUSTONCE
DESTROYACIVILIZATION
whom=TRIGGERDEFENDER
@ENDIF

@IF
CITYTAKEN
city=Parin
attacker=ANYBODY
defender=Kingdom of Parin
@THEN
TEXT
Parin has been captured!  The Kingdom has fallen!
ENDTEXT
JUSTONCE
DESTROYACIVILIZATION
whom=Kingdom of Parin
@ENDIF

@IF
TURN
turn=0
@THEN
JUSTONCE
GIVETECHNOLOGY
receiver=Elves
technology=91
HASTRIGGERED
@ENDIF

@IF
TURN
turn=270
@THEN
TEXT
The Celaran Guild is in shock!  The Blue Mountain (Lonloren Tyalin in the Old Tongue) has 
exploded!  The peak of the mountain blew away in a massive eruption and lava has flowed into 
Lake Celarus!  Scientists fear that the Paladantine may be contaminated with volcanic ash!
ENDTEXT
PLAYWAVEFILE
VOLCANO.WAV
JUSTONCE
CHANGETERRAIN
terraintype=7
maprect
30,44,30,44,30,44,30,44
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
TEXT
The Imperial Fleet Yards of Athenar have been captured!  The Northern Realm mounts an assault 
on the attackers!
ENDTEXT
CREATEUNIT
unit=Realm Guard
owner=Northern Realm
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athenar
attacker=ANYBODY
defender=Northern Realm
@THEN
CREATEUNIT
unit=Realm Guard
owner=TRIGGERDEFENDER
veteran=yes
homecity=Athenar
locations
95,59
96,58
101,55
97,57
94,60
95,61
101,57
100,56
101,53
endlocations
@ENDIF

@ENDEVENTS
